When you build your own game, you can choose your own info sprites or choose a different topic.

When you build your own game, you can come up with new scenes and feedback related to cyber-bullying. You can also create scenes about digital reputation and security. You'll want to have at least three scenes in your game.

  • If you have some extra time, try out some of your ideas here!
  • When you are done with this lesson, click Submit to complete the tutorial

To navigate the page using the TAB key, first press ESC to exit the code editor.

stage.set_background("schoolentrance") sprite = codesters.Sprite("person10") sprite.go_to(-125, -100) emma = codesters.Sprite("person8") emma.move_down(125) emma.say("Someone took my phone!") stage.wait(2) emma.say("They've been sending people mean texts pretending to be me!") stage.wait(2) sprite.say("What should I do?") stage.wait(2) choice = sprite.ask("a) tell a trusted adult b) tell people Emma is sending the messages c) ignore Emma") # text = codesters.Text("text", x, y) text = codesters.Text("Hello up here.", 0, 200) if choice == "a": # add your code here text.set_text("Great job!") if choice == "b": text.set_text("It's not nice to spread rumors") if choice == "c": text.set_text("Stand up to bullying") emma.move_left(500) stage.set_background("schoolhallway") stage.wait(2) mike = codesters.Sprite("person12") mike.go_to(0, -125) mike.say("Someone has been harassing me online!") stage.wait(2) mike.say("I think my friend Tom might be doing it.") stage.wait(2) choice = sprite.ask("a) laugh at mike b) sympathize with mike c) harass Tom") if choice == "a": text.set_text("Think about how Mike feels") if choice == "b": text.set_text("Great job!") if choice == "c": text.set_text("Don't fight harassment by harassing others")
  • Run Code
  • Submit Work
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)